package il.technion.cs236369.webserver.components;

/**
 * The interface define method that will be called when object is remove from some queue.
 * @author Ofir Haviv and Itamar Talmi
 *
 * @param <T> - The type of the object in the queue.
 */
public interface IDataHandler<T> {

	/**
	 * Handles data of objects taken from the queue.
	 * @param data - The data retrieved from the queue.
	 */
	void handleData(T data);
}
